
<!------------------->
    </div> <!-- /container -->
<?php
$pathinfo = (pathinfo($_SERVER['REQUEST_URI']));
$filename = $pathinfo['filename'];
pr($filename);
?>
    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="js/jquery-1.10.2.min.js"></script>
    <script src="dist/js/bootstrap.min.js"></script>
  <!-- Add fancyBox main JS and CSS files -->
<?php
switch ($filename)
{
  case 'register': case 'edit_user':
    echo '<script src="js/jquery.validate.js"></script>';
    echo '<script src="js/register.jquery.js"></script>';
    echo '<script src="js/bootstrap-datepicker.js"></script>';
    break;
  case 'all_users':
    echo '<script type="text/javascript" src="fancyapps/jquery.fancybox.js?v=2.1.5"></script>
    <link rel="stylesheet" type="text/css" href="fancyapps/jquery.fancybox.css?v=2.1.5" media="screen" />';
  break;
  default:

}
?>
    <script>

    $(function(){

      // Disable opening and closing animations, change title type
      $(".fancybox-effects-b").fancybox({
        openEffect  : 'none',
        closeEffect : 'none',

        helpers : {
          title : {
            type : 'over'
          }
        }
      });

      $('#dobId').datepicker({
        format: 'yyyy-mm-dd'
      });
    });
  </script>
<hr>

<center>@copyright <?=date('Y')?> mycompany.com</center>
<hr>

  </body>
</html>
<?php

if($debug == true) {
  echo "<h2>Debug Console :</h2>";
  foreach($debugArr as $val){
    echo $val;
  }
}
